using System;
using Whitemice.MOGI;

namespace Whitemice.MOGI.ZOGI
{
	public class Enterprise : Whitemice.MOGI.ZOGI.Company, IEnterprise
	{
		public Enterprise(IServer server, Payload payload) 
			: base(server, payload)
		{
		}
		
		public string Description 
		{ 
			get { return payload.GetStringForKey("name"); }
			set { payload.SetValueForKey("name", value);} 
		}
		
		public string Bank 
		{ 
			get { return payload.GetStringForKey("bank"); }
			set { payload.SetValueForKey("bank", value); }
		}
		
		public string BankCode 
		{ 
			get { return payload.GetStringForKey("bankCode"); }
			set { payload.SetValueForKey("bankCode", value); }
		}
		
		public string URL 
		{ 
			get { return payload.GetStringForKey("url"); }
			set { payload.SetValueForKey("url", value); }
		}
		
		public string Email1 
		{ 
			get { return payload.GetStringForKey("email"); }
			set { payload.SetValueForKey("email", value); } 
		}
	}
}
